<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<body>
<h1>教务系统</h1>
<h2>成绩管理——更新</h2>
<a th:href="@{/scores}">查询全部</a>
<a th:href="@{/addscorepage}">添加</a>
<form th:action="@{/updatescore}"  th:method="post">
  <p>id: <input type="text" name="id" th:value="${score.id}"/></p>
  <p>学号: <input type="text" name="studentId" th:value="${score.studentId}" readonly/></p>
  <p>课程号: <input type="text" name="courseId" th:value="${score.courseId}"/></p>
  <p>分数: <input type="text" name="score" th:value="${score.score}"/></p>
  <input type="submit" />
</form>
</body>
</html>